home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2000 November
/
cd joystick no120 novembre 2000 cd 1.iso
/
data
/
demos
/
gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
level11.gls
< prev
next >
Wrap
Text File
|
2000-08-22
|
14KB
|
721 lines
/************/
/* INCLUDES */
/************/
// n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
// default things to inherit our objects from
#include "defaults.gsh"
// good guys
#include "frend.gsh"
#include "hark.gsh"
#include "gunlok.gsh"
#include "elint.gsh"
// bad guys
#include "obliteron.gsh"
#include "reapor.gsh"
#include "drone.gsh"
#include "walking_mine.gsh"
#include "archore.gsh"
#include "warflash.gsh"
#include "popup_turret.gsh"
#include "scythor.gsh"
#include "runner.gsh"
#include "destructor.gsh"
#include "thruster.gsh"
// neutral things
#include "crate.gsh"
#include "wall_multifrag.gsh"
#include "sewerfrag.gsh"
// fires
#include "carfire.gsh"
#include "oilfire.gsh"
/*********/
/* NOTES */
/*********/
/**********/
/* SHAPES */
/**********/
// world objects
shape Shp_tank
{
file "objects\tank.rif"
name "tank"
}
shape Shp_supports
{
file "levels\level11.rif"
name "supports"
}
shape Shp_hull
{
file "levels\level11.rif"
name "hull"
}
shape Shp_Atruck
{
file "objects\armytruck.rif"
name "armytruck"
}
shape Shp_jeep
{
file "objects\jeep.rif"
name "jeep"
}
shape Shp_lift
{
file "levels\level11.rif"
name "lift"
}
shape Shp_liftb
{
file "levels\level11.rif"
name "liftb"
}
shape Shp_LiftswitchA
{
file "objects\liftswitch H.rif"
name "liftswitch H"
}
shape Shp_LiftswitchB
{
file "levels\level11.rif"
name "LIFT SWITCH B"
}
shape Shp_shanty_houses
{
file "levels\level11.rif"
name "shanty houses"
}
shape Shp_boat
{
file "objects\fishingboat.rif"
name "boat"
}
shape Shp_van
{
file "objects\van.rif"
name "van"
}
shape Shp_crane
{
file "objects\dockcrane.rif"
name "crane"
}
shape Shp_container_a
{
file "levels\level11.rif"
name "container a"
}
shape Shp_container_b
{
file "levels\level11.rif"
name "container b"
}
shape Shp_container_c
{
file "levels\level11.rif"
name "container c"
}
shape Shp_container_d
{
file "levels\level11.rif"
name "container d"
}
shape Shp_sewergrate
{
file "levels\level11.rif"
name "sewer grate"
}
shape Shp_sewerswitch
{
file "levels\level11.rif"
name "sewer grate switch"
}
shape Shp_stand_in
{
file "levels/level11.rif"
name "stand in"
}
shape Shp_cutter
{
file "objects/cutter.rif"
name "cutter"
}
shape Shp_door
{
file "levels/level11.rif"
name "door"
}
/********GARBAGE PICKUPS********GARBAGE PICKUPS********/
shape Shp_Garbage_C
{
file "objects\GARBAGE C.rif"
name "GARBAGE C"
}
shape Shp_Garbage_D
{
file "objects\GARBAGE D.rif"
name "GARBAGE D"
}
shape Shp_Garbage_E
{
file "objects\GARBAGE E.rif"
name "GARBAGE E"
}
shape Shp_Garbage_G
{
file "objects\GARBAGE G.rif"
name "GARBAGE G"
}
shape Shp_Garbage_H
{
file "objects\GARBAGE H.rif"
name "GARBAGE H"
}
shape Shp_Garbage_I
{
file "objects\GARBAGE I.rif"
name "GARBAGE I"
}
shape Shp_Garbage_J
{
file "objects\GARBAGE J.rif"
name "GARBAGE J"
}
/********JUNKPILES********JUNKPILES********JUNKPILES********/
shape Shp_Junkpile_C
{
file "objects\JUNKPILE C.rif"
name "JUNKPILE C"
}
shape Shp_Junkpile_D
{
file "objects\JUNKPILE D.rif"
name "JUNKPILE D"
}
shape Shp_Junkpile_E
{
file "objects\JUNKPILE E.rif"
name "JUNKPILE E"
}
shape Shp_Junkpile_F
{
file "objects\JUNKPILE F.rif"
name "JUNKPILE F"
}
shape Shp_Junkpile_G
{
file "objects\JUNKPILE G.rif"
name "JUNKPILE G"
}
shape Shp_Junkpile_H
{
file "objects\JUNKPILE H.rif"
name "JUNKPILE H"
}
shape Shp_Junkpile_I
{
file "objects\JUNKPILE I.rif"
name "JUNKPILE I"
}
shape Shp_Junkpile_J
{
file "objects\JUNKPILE J.rif"
name "JUNKPILE J"
}
shape Shp_Junkpile_K
{
file "objects\JUNKPILE K.rif"
name "JUNKPILE K"
}
shape Shp_Junkpile_L
{
file "objects\JUNKPILE L.rif"
name "JUNKPILE L"
}
/**********/
/* ROLES */
/**********/
// world objects
role Rol_tank : Rol_PlacedObject
{
shape Shp_tank
}
role Rol_supports : Rol_PlacedObject
{
shape Shp_supports
hit test ignore yes
}
role Rol_hull : Rol_PlacedObject
{
shape Shp_hull
hit test ignore yes
}
role Rol_Atruck : Rol_PlacedObject
{
shape Shp_Atruck
}
role Rol_jeep : Rol_PlacedObject
{
shape Shp_jeep
}
role Rol_lift : Rol_PlacedObject
{
shape Shp_lift
ai track object
destination selectable yes
}
role Rol_liftb : Rol_PlacedObject
{
shape Shp_liftb
ai track object
destination selectable yes
}
role Rol_LiftswitchA : Rol_PlacedObject
{
shape Shp_LiftswitchA
ai pickup
destination selectable yes
}
role Rol_LiftswitchB : Rol_PlacedObject
{
shape Shp_LiftswitchB
ai pickup
destination selectable yes
}
role Rol_shanty_houses : Rol_PlacedObject
{
shape Shp_shanty_houses
hit test ignore yes
}
role Rol_boat : Rol_PlacedObject
{
shape Shp_boat
}
role Rol_van : Rol_PlacedObject
{
shape Shp_van
}
role Rol_crane : Rol_PlacedObject
{
shape Shp_crane
}
role Rol_container_a : Rol_PlacedObject
{
shape Shp_container_a
}
role Rol_container_b : Rol_PlacedObject
{
shape Shp_container_b
}
role Rol_container_c : Rol_PlacedObject
{
shape Shp_container_c
}
role Rol_container_d : Rol_PlacedObject
{
shape Shp_container_d
}
role Rol_sewergrate : Rol_PlacedObject
{
shape Shp_sewergrate
ai track object
destination selectable yes
}
role Rol_sewerswitch : Rol_PlacedObject
{
shape Shp_sewerswitch
ai pickup
destination selectable yes
}
role Rol_stand_in : Rol_PlacedObject
{
shape Shp_stand_in
ai pickup
destination selectable yes
}
role Rol_cutter : Rol_DefaultPickup
{
shape Shp_cutter
character Chr_Other_Pickup
identifier "cutter"
moves on lifts yes
}
role Rol_door : Rol_PlacedObject
{
shape Shp_door
}
/********GARBAGE********GARBAGE********GARBAGE********/
role Rol_Garbage_C : Rol_DefaultGarbage
{
shape Shp_Garbage_C
}
role Rol_Garbage_D : Rol_DefaultGarbage
{
shape Shp_Garbage_D
}
role Rol_Garbage_E : Rol_DefaultGarbage
{
shape Shp_Garbage_E
}
role Rol_Garbage_G : Rol_DefaultGarbage
{
shape Shp_Garbage_G
}
role Rol_Garbage_H : Rol_DefaultGarbage
{
shape Shp_Garbage_H
}
role Rol_Garbage_I : Rol_DefaultGarbage
{
shape Shp_Garbage_I
}
role Rol_Garbage_J : Rol_DefaultGarbage
{
shape Shp_Garbage_J
}
/********JUNKPILES********JUNKPILS********JUNKPILES********/
role Rol_Junkpile_C : Rol_DefaultGarbage
{
shape Shp_Junkpile_C
}
role Rol_Junkpile_D : Rol_DefaultGarbage
{
shape Shp_Junkpile_D
}
role Rol_Junkpile_E : Rol_DefaultGarbage
{
shape Shp_Junkpile_E
}
role Rol_Junkpile_F : Rol_DefaultGarbage
{
shape Shp_Junkpile_F
}
role Rol_Junkpile_G : Rol_DefaultGarbage
{
shape Shp_Junkpile_G
}
role Rol_Junkpile_H : Rol_DefaultGarbage
{
shape Shp_Junkpile_H
}
role Rol_Junkpile_I : Rol_DefaultGarbage
{
shape Shp_Junkpile_I
}
role Rol_Junkpile_J : Rol_DefaultGarbage
{
shape Shp_Junkpile_J
}
role Rol_Junkpile_K : Rol_DefaultGarbage
{
shape Shp_Junkpile_K
}
role Rol_Junkpile_L : Rol_DefaultGarbage
{
shape Shp_Junkpile_L
}
/***********/
/* THE MAP */
/***********/
map /* _THE_ map - doesnt need a label */
{
file "levels\level11.rif"
name "Land"
bitmap "bitmaps\\LEVEL11.rim"
camera plane none
max camera distance 100 // TBD exactly
shadow object rif "levels\level11_shadow.rif"
shadow object name "land"
// PLAYERS TROOPS
use Rol_GunLok in team 1 for
"Goodie B" as "gunlok"
use Rol_Hark in team 1 for
"Goodie A" as "hark"
use Rol_Frend in team 1 for
"Goodie D" as "frend"
use Rol_Elint in team 1 for
"Goodie C" as "elint"
// AI'S TROOPS
use Rol_Popup_Turret in team 2 for
"PU turret a" and
"PU turret b" and
"PU turret c" and
"PU turret d" and
"PU turret e" and
"PU turret f" and
"PU turret g"
// NEUTRAL OBJECTS
use Rol_tank in team 0 for
"tanka" and
"tankb" and
"tankc"
use Rol_supports in team 0 for
"supports"
use Rol_hull in team 0 for
"hull"
use Rol_Atruck in team 0 for
"Atrucka" and
"Atruckb"
use Rol_jeep in team 0 for
"jeepa" and
"jeepb" and
"jeepc" and
"jeepd"
use Rol_lift in team 0 for
"lift" as "lift_a"
use Rol_liftb in team 0 for
"liftb" as "lift_b"
use Rol_LiftswitchA in team 0 for
"LIFT SWITCH A" as "liftswitch_a"
use Rol_LiftswitchB in team 0 for
"LIFT SWITCH B" as "liftswitch_b"
use Rol_shanty_houses in team 0 for
"shanty houses"
use Rol_boat in team 0 for
"boat"
use Rol_van in team 0 for
"van"
use Rol_crane in team 0 for
"crane a" and
"crane b" and
"crane c" and
"crane d"
use Rol_container_a in team 0 for
"container a"
use Rol_container_b in team 0 for
"container b"
use Rol_container_c in team 0 for
"container c"
use Rol_container_d in team 0 for
"container d"
use Rol_sewergrate in team 0 for
"sewer grate" as "sewergrate"
use Rol_sewerswitch in team 0 for
"sewer grate switch" as "sewerswitch"
use Rol_stand_in in team 0 for
"stand in" as "stand_in"
use Rol_door in team 0 for
"door"
/********GARBAGE PICKUPS********GARBAGE PICKUPS********/
use Rol_Garbage_C in team 0 for
"GARBAGE Ca" as "garbage_Ca"
use Rol_Garbage_C in team 0 for
"GARBAGE Cb" as "garbage_Cb"
use Rol_Garbage_C in team 0 for
"GARBAGE Cc" as "garbage_Cc"
use Rol_Garbage_C in team 0 for
"GARBAGE Cd" as "garbage_Cd"
use Rol_Garbage_C in team 0 for
"GARBAGE Ce" as "garbage_Ce"
use Rol_Garbage_D in team 0 for
"GARBAGE Da" as "garbage_Da"
use Rol_Garbage_D in team 0 for
"GARBAGE Db" as "garbage_Db"
use Rol_Garbage_E in team 0 for
"GARBAGE Ea" as "garbage_Ea"
use Rol_Garbage_E in team 0 for
"GARBAGE Eb" as "garbage_Eb"
use Rol_Garbage_E in team 0 for
"GARBAGE Ec" as "garbage_Ec"
use Rol_Garbage_G in team 0 for
"GARBAGE Ga" as "garbage_Ga"
use Rol_Garbage_G in team 0 for
"GARBAGE Gb" as "garbage_Gb"
use Rol_Garbage_G in team 0 for
"GARBAGE Gc" as "garbage_Gc"
use Rol_Garbage_G in team 0 for
"GARBAGE Gd" as "garbage_Gd"
use Rol_Garbage_G in team 0 for
"GARBAGE Ge" as "garbage_Ge"
use Rol_Garbage_H in team 0 for
"GARBAGE Ha" as "garbage_Ha"
use Rol_Garbage_H in team 0 for
"GARBAGE Hb" as "garbage_Hb"
use Rol_Garbage_H in team 0 for
"GARBAGE Hc" as "garbage_Hc"
use Rol_Garbage_I in team 0 for
"GARBAGE Ia" as "garbage_Ia"
use Rol_Garbage_J in team 0 for
"GARBAGE Ja" as "garbage_Ja"
use Rol_Garbage_J in team 0 for
"GARBAGE Jb" as "garbage_Jb"
/********JUNKPILES********JUNKPILS********JUNKPILES********/
use Rol_Junkpile_C in team 0 for
"JUNKPILE Ca" as "junkpile_ca"
use Rol_Junkpile_C in team 0 for
"JUNKPILE Cb" as "junkpile_cb"
use Rol_Junkpile_C in team 0 for
"JUNKPILE Cc" as "junkpile_cc"
use Rol_Junkpile_C in team 0 for
"JUNKPILE Cd" as "junkpile_cd"
use Rol_Junkpile_D in team 0 for
"JUNKPILE Da" as "junkpile_da"
use Rol_Junkpile_D in team 0 for
"JUNKPILE Db" as "junkpile_db"
use Rol_Junkpile_D in team 0 for
"JUNKPILE Dc" as "junkpile_dc"
use Rol_Junkpile_D in team 0 for
"JUNKPILE Dd" as "junkpile_dd"
use Rol_Junkpile_D in team 0 for
"JUNKPILE De" as "junkpile_de"
use Rol_Junkpile_D in team 0 for
"JUNKPILE Df" as "junkpile_df"
use Rol_Junkpile_E in team 0 for
"JUNKPILE Ea" as "junkpile_ea"
use Rol_Junkpile_E in team 0 for
"JUNKPILE Eb" as "junkpile_eb"
use Rol_Junkpile_E in team 0 for
"JUNKPILE Ec" as "junkpile_ec"
use Rol_Junkpile_E in team 0 for
"JUNKPILE Ed" as "junkpile_ed"
use Rol_Junkpile_E in team 0 for
"JUNKPILE Ee" as "junkpile_ee"
use Rol_Junkpile_E in team 0 for
"JUNKPILE Ef" as "junkpile_ef"
use Rol_Junkpile_F in team 0 for
"JUNKPILE Fa" as "junkpile_fa"
use Rol_Junkpile_F in team 0 for
"JUNKPILE Fb" as "junkpile_fb"
use Rol_Junkpile_F in team 0 for
"JUNKPILE Fc" as "junkpile_fc"
use Rol_Junkpile_F in team 0 for
"JUNKPILE Fd" as "junkpile_fd"
use Rol_Junkpile_F in team 0 for
"JUNKPILE Fe" as "junkpile_fe"
use Rol_Junkpile_F in team 0 for
"JUNKPILE Ff" as "junkpile_ff"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Ga" as "junkpile_ga"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Gb" as "junkpile_gb"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Gc" as "junkpile_gc"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Gd" as "junkpile_gd"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Ge" as "junkpile_ge"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Gf" as "junkpile_gf"
use Rol_Junkpile_G in team 0 for
"JUNKPILE Gg" as "junkpile_gg"
use Rol_Junkpile_H in team 0 for
"JUNKPILE Ha" as "junkpile_ha"
use Rol_Junkpile_H in team 0 for
"JUNKPILE Hb" as "junkpile_hb"
use Rol_Junkpile_H in team 0 for
"JUNKPILE Hc" as "junkpile_hc"
use Rol_Junkpile_H in team 0 for
"JUNKPILE Hd" as "junkpile_hd"
use Rol_Junkpile_H in team 0 for
"JUNKPILE He" as "junkpile_he"
use Rol_Junkpile_I in team 0 for
"JUNKPILE Ia" as "junkpile_ia"
use Rol_Junkpile_I in team 0 for
"JUNKPILE Ib" as "junkpile_ib"
use Rol_Junkpile_I in team 0 for
"JUNKPILE Ic" as "junkpile_ic"
use Rol_Junkpile_J in team 0 for
"JUNKPILE Ja" as "junkpile_ja"
use Rol_Junkpile_J in team 0 for
"JUNKPILE Jb" as "junkpile_jb"
use Rol_Junkpile_K in team 0 for
"JUNKPILE Ka" as "junkpile_ka"
use Rol_Junkpile_K in team 0 for
"JUNKPILE Kb" as "junkpile_kb"
use Rol_Junkpile_L in team 0 for
"JUNKPILE La" as "junkpile_la"
use Rol_Junkpile_L in team 0 for
"JUNKPILE Lb" as "junkpile_lb"
use Rol_Junkpile_L in team 0 for
"JUNKPILE Lc" as "junkpile_lc"
use Rol_Junkpile_L in team 0 for
"JUNKPILE Ld" as "junkpile_ld"
}
camera track
{
file "levels\level11.rif"
name "wall intro"
}
camera track
{
file "levels\level11.rif"
name "wall village"
}
camera track
{
file "levels\level11.rif"
name "wall end"
}